package com.css.fxfzysx.modules.vaolEngineering.repository;

import com.css.fxfzysx.modules.lifeline.entity.newEntity.SmxWaterSupplyEntity;
import com.css.fxfzysx.modules.lifeline.vo.basic.DestructiveStateVo;
import com.css.fxfzysx.modules.vaolEngineering.entity.MtolProjectEntity;
import com.css.fxfzysx.modules.vaolEngineering.param.update.WaterSupplyParam;

import java.util.List;

public interface WsfManagementRepository {

    void saveMtolProject(MtolProjectEntity mtolProjectEntity);

    void updateMtolProject(MtolProjectEntity mtolProjectEntity);

    MtolProjectEntity getMtolProjectById(String id);

    boolean saveWaterSupply(SmxWaterSupplyEntity entity);

    List<SmxWaterSupplyEntity> getByVersionId(String id);

    void saveWaterSupplyResult(SmxWaterSupplyEntity entity);

    SmxWaterSupplyEntity getByTableId(String id);

    void updateWsfManagementById(WaterSupplyParam waterSupplyParam);

    DestructiveStateVo getByBasicInfo(SmxWaterSupplyEntity entity,String year);
}
